package com.ygs.secs.model;

import java.io.Serializable;

/**
 * 应聘回复
 */
public class Reply implements Serializable {
    //id
    private Integer replyid;

    //回复信息
    private String replymsg;

    //回复人ID
    private String respondentid;

    //回复时间
    private String replytime;

    //应聘记录
    private Record record;

    private static final long serialVersionUID = 1L;

    public Integer getReplyid() {
        return replyid;
    }

    public void setReplyid(Integer replyid) {
        this.replyid = replyid;
    }

    public String getReplymsg() {
        return replymsg;
    }

    public void setReplymsg(String replymsg) {
        this.replymsg = replymsg;
    }

    public String getRespondentid() {
        return respondentid;
    }

    public void setRespondentid(String respondentid) {
        this.respondentid = respondentid;
    }

    public String getReplytime() {
        return replytime;
    }

    public void setReplytime(String replytime) {
        this.replytime = replytime;
    }

    public Record getRecord() {
        return record;
    }

    public void setRecord(Record record) {
        this.record = record;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", replyid=").append(replyid);
        sb.append(", replymsg=").append(replymsg);
        sb.append(", respondentid=").append(respondentid);
        sb.append(", replytime=").append(replytime);
        sb.append(", recordid=").append(record.getRecordid());
        sb.append("]");
        return sb.toString();
    }
}